<?xml version="1.0" standalone="yes"?>
<CustomTasks>
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="NTFS Compression Check" type="Utility" point="Startup" wait="OnlyOnShutdown" cmd="NTFS_Compression_Check.cmd &quot;%ssbatchrunner%&quot; %server% %server_instance% &quot;%instance%&quot; &quot;%output_path%&quot; %authmode% %ssuser% %sspwd%  &gt; &quot;%output_name%.TXT&quot; 2&gt;&amp;1" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="Hypothetical Indexes Check" type="TSQL_Script" point="Startup" wait="OnlyOnShutdown" cmd="Hind_Indexes_Check.sql" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="Pinned Table Check" type="TSQL_Script" point="Startup" wait="OnlyOnShutdown" cmd="Pinned_Table_Check.sql" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="BOOT.INI" type="Utility" point="Startup" wait="OnlyOnShutdown" cmd="type %SYSTEMDRIVE%\BOOT.INI &gt; &quot;%output_path%%COMPUTERNAME%_BOOT.INI&quot;" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="BOOTCFG" type="Utility" point="Startup" wait="OnlyOnShutdown" cmd="BOOTCFG.EXE &gt; &quot;%output_path%%COMPUTERNAME%_BOOTCFG.TXT&quot;" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="Profiler Traces" type="TSQL_Command" point="Startup" wait="OnlyOnShutdown" cmd="SELECT traceid, property, CONVERT (varchar(1024), value) AS value FROM :: fn_trace_getinfo(default)" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="ImageFileExecOp" type="Utility" point="Startup" wait="OnlyOnShutdown" cmd="regedit /s /a &quot;%output_path%%COMPUTERNAME%_SQL_Best_Practices_IMAGE_FILE_EXEC_OP.REG&quot;       &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options&quot; &gt; NUL 2&gt;&amp;1" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="ImageFileExecOpWOW64" type="Utility" point="Startup" wait="OnlyOnShutdown" cmd="regedit /s /a &quot;%output_path%%COMPUTERNAME%_SQL_Best_Practices_IMAGE_FILE_EXEC_OP_WOW64.REG&quot; &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options&quot; &gt; NUL 2&gt;&amp;1" />
  <CustomTask enabled="true" groupname="SQL Best Practices" taskname="McAfeeBufferOverrunRegKey" type="Utility" point="Startup" wait="OnlyOnShutdown" cmd="regedit /s /a &quot;%output_path%%COMPUTERNAME%_SQL_Best_Practices_McAfeeBufferOverrunEntercept.REG&quot; &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\BehaviourBlocking&quot; &gt; NUL 2&gt;&amp;1" />
</CustomTasks>